<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
		<s:form method="post" action="updateBatchProfessorDetails.action">
		
<%-- 		?professor_id=<s:property value="professor_id"/>&batch_id=<s:property value="batch_id"/>"> --%>
	<!-- 		action="updateBatchprofessorDetails.action"> -->

	<%-- 		--%>

	<table>
<%-- 		 		<s:set name="batch_id" value="<s:property value="batch_id"/>"/>  --%>
		<%-- <s:set name="professor_id" value="<s:property value="professor_id"/>"/> --%>
		<tr>
			<td>Edit Professor</td>
		</tr>
		<tr>
			<%-- 				<s:if test="%{#batch_id != 0}"> --%>
			<td>Batch_id</td>
			<td><s:property value="batch_id" />
			</td>
			<%-- 				</s:if> --%>
		</tr>
		<tr>
			<td><s:textfield name="staff_id" type="hidden" value="%{staff_id}" label="Professor ID"/>
			</td>
		</tr>
		<tr>
			<td><s:textfield name="staff_name" label="Name" value="%{staff_name}"/> 
			</td>
		</tr>
		<tr>
			
			<td><s:textfield name="research" label="Research Work" value="%{research}"/> 
			</td>
		</tr>
		<tr>
			
			<td><s:textfield name="project" label="Project" value="%{project}"/> 
			</td>
		</tr>
				<tr>
			
			<td><s:textfield name="patent" label="Patent" value="%{patent}"/> 
			</td>
		</tr>
				<tr>
			
			<td><s:select list="course_list" headerKey="-1" headerValue="Please select course" label="Area of Research"/> 
			</td>
		</tr>
		
		
		<tr>
<!-- 		<tr> -->
<!-- 			<td>Description</td> -->
<%-- 			<td><s:textfield name="description" value=""/> --%>
<!-- 			</td> -->
<!-- 		</tr> -->
		<tr>
		<s:set name="batch_id" value="%{batch_id}"/>
<%-- 		<s:set name="professor_id" value="%{professor_id}"/> --%>
<%-- 				<s:set name="professor_id" value=<s:property value="professor_id"/>/> --%>
							<td><s:submit label="Add" value="Submit" /></td>
<!-- 			<td><a -->
<%-- 				href="updateBatchprofessorDetails.action?professor_id=<s:property value="professor_id"/>&batch_id=<s:property value="batch_id"/>">Add</a> --%>
<!-- 			</td> -->
		</tr>
		<%-- </s:iterator> --%>
	</table>

		</s:form>
</body>
</html>